@charset "UTF-8";

body {
    background-color: #f4f4f4;
}

/*顶部广告 Start*/
.top_advertising {
    height: 80px;
    background-color: #fe895a;

    .adv_box {
        margin: 0 auto;
        height: 100%;
        position: relative;
        text-align: center;

        a {
            display: block;
            width: 100%;
            height: 100%;

            img {
                height: 80px;
            }  
        }

        i {
            position: absolute;
            top: 6px;
            right: 6px;
            width: 20px;
            height: 20px;
            line-height: 20px;
            font-size: 24px;
            font-weight: lighter;
            color: #fff;
            background-color: #666;
            opacity: .6;
            cursor: pointer;
            user-select: none;
        }
    }
}
/*顶部广告 End*/
  
/*服务菜单 Start*/
.shortcut {
    height: 30px;
    line-height: 30px;
    background-color: #e3e4e5;

    .shortcut_content {
        margin: 0 auto;
        height: 100%;

        // 左侧地区定位
        .stop_address {
            width: 58px;
            height: 100%;
            position: relative;

            // 显示当前地址
            .current_add_name {
                position: absolute;
                z-index: 9999;
                width: 100%;
                height: 100%;
                border: 1px solid transparent;
                border-bottom: 0;
                font-size: 12px;
                color: #999;
                text-align: center;

                &::before {
                    content: "";
                    display: inline-block;
                    width: 12px;
                    height: 16px;
                    margin-top: -3px;
                    margin-right: 6px;
                    background-color: #e1251b;
                    background: url(../images/icon/stop_address.png) no-repeat;
                    background-size: 12px 16px;
                    vertical-align: middle
                }
            }

            // 选择地址弹出层
            .select_address {
                display: none;
                position: absolute;
                top: 30px;
                width: 400px;
                height: 400px;
                background-color: #fff;
                z-index: 999;
                border: 1px solid #999;
            }

            // 添加hover事件
            &:hover {
                .current_add_name {
                    background-color: #fff;
                    border-color: #999;
                    color: #e1251b;
                }
                .select_address {
                    display: block;
                }
            }
            
        }

        //右侧快捷菜单列表
        .shortcut_menu_list {
            height: 100%;
            li {
                float: left;
                font-size: 12px;
                padding: 0 16px;
                position: relative;

                a {
                    color: #999;
                }

                &::after {
                    content: "";
                    position: absolute;
                    right: 0;
                    top: 9px;
                    height: 12px;
                    border-left: 1px solid #cccccc;
                }
                // 清除最后一个元素的伪类
                &:last-child:after {
                    content: none;
                }
            }
        }

    }
}
/*服务菜单 End*/

/*主导航 & 内容 Start*/
.head_container {
    height: 140px;
    background-color: #fff;
    
    .w {
        margin: 0 auto;
        height: 100%;
        // background-color: pink;
        //解决子元素给外边距 带动父元素一起的问题
        &::before { 
            content: "";
            display: table;
        }

        // 左边
        .logo {
            width: 190px;
            height: 120px;
            background-color: skyblue;
            margin: 10px 0;

            h1 {
                height: 100%;
                font-size: 14px;
                overflow: hidden;
                a {
                    display: block;
                    height: 100%;
                    text-indent: -999px;
                }
            }
        }

        // 中间
        .servers_content {
            position: relative;
            width: 788px;
            height: 100%;
            margin-left: 12px;  

            .search_box {
                position: absolute;
                top: 24px;
                height: 36px;
                width: 100%;
            
                .s_left_form {
                    // overflow: hidden;
                    position: absolute;
                    left: 58px;
                    width: 550px;
                    height: 32px;
                    line-height: 32px;
                    border: 2px solid #e1251b;
                    // position: relative;

                    .search_text {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 472px;
                        height: 100%;
                        padding-left: 20px;
                        background-color: #fff;
                        z-index: 7;
                        font-size: 14px;
                        color: #989898;

                    }
                    input {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 472px;
                        margin-left: 20px;
                        height: 32px;
                        outline: none;
                        border: 0;
                        z-index: 9;
                        font-size: 14px;
                        color: #989898;

                    }

                    .xianji {
                        position: absolute;
                        right: 58px;
                        width: 40px;
                        height: 100%;
                        z-index: 9;
                        text-align: center;
                        
                        .iconfont {
                            font-size: 20px;
                        }

                        i:hover {
                            color: #e1251b;
                        }
                    }

                    button {
                        position: absolute;
                        top: -1px;
                        right: -1px;
                        width: 59px;
                        height: 34px;
                        border: 0;
                        outline: none;
                        background-color: #e1251b;
                        color: #fff;
                        z-index: 9;
                        .iconfont {
                            font-size: 20px;
                        }
                    }
                }

                .cart_right {
                    position: absolute;
                    right: 26px;
                    width: 130px;
                    height: 34px;
                    line-height: 34px;
                    border: 1px solid #e1251b;
                    text-align: center;
                    font-size: 12px;
                    background-color: #fff;
                    
                    .iconfont {
                        color: #e1251b;
                        font-weight: 700;
                        margin-right: 10px;
                    }

                    a {
                        color: #e1251b;
                    }

                    .cart_count {
                        position: absolute;
                        top: 2px;
                        left: 29px;
                        height: 13px;
                        line-height: 13px;
                        padding: 0 6px;
                        background-color: #e1251b;
                        border-radius: 10px;
                        font-size: 12px;
                        color: #fff;
                    }
                }
            }

            .search_list {
                position: absolute;
                top: 60px;
                left: 58px;
                overflow: hidden;

                li.list_item {
                    float: left;
                    padding: 6px;
                    font-size: 12px;
                   
                    a {
                        color: #666;
                    }

                    &.selected {
                        a {
                            color: #e1251b;
                        }
                    }
                }
            }

            .main_navs {
                position: absolute;
                bottom: 0;
                width: 100%;
                height: 40px;
                text-align: center;
                line-height: 40px;

                ul {
                    height: 40px;
                    
                    li {
                        float: left;
                        padding: 0 12px;
                        font-size: 15px;

                        a {
                            color: #000;
                        }

                        &.add_bold {
                            font-size: 16px;
                            font-weight: 700;

                            a {
                                color: #e1251b;
                            }
                        }

                        &:hover {
                            a {
                                color: #e1251b;
                            }
                        }
                    }
                }
            }

        }
        
        // 右边
        .promo_lk {
            width: 190px;
            height: 120px;
            // background-color: #333;
            margin: 10px 0;

            a {
                display: block;
                width: 190px;
                height: 120px;
                background-size: cover;
            }
        }
    }
}
/*主导航 & 内容 End*/


/*商品分类导航列表、 轮播图 、广告...  Start*/
.fs {
    margin: 0 auto;
    margin-top: 10px;
    height: 470px;
    // display: flex;
    // justify-content: space-between;
    
    >div {
        float: left;
        height: 100%;
        margin-right: 10px;
    }

    //公共样式 左右按钮 开始
    .arrow-l,
    .arrow-r {
            position: absolute;
            top: 50%;
            margin-top: -14.5px;
            width: 25px;
            height: 35px;  
            line-height: 35px;
            text-align: center;
            z-index: 999;
            background-color: #000;
            opacity: 0.2;
            
            i {
                display: block;
                color: #fff;
                font-size: 8px;
                font-weight: bold;
                color: #fff;
               
            }

            &:hover {
                opacity: 0.6;
            }
        }
    .arrow-l {
        left: 0;
        border-radius: 0 18px 18px 0;
        .iconfont {
            padding-right: 4px;
        }
    }
    .arrow-r {
        right: 0;
        border-radius: 18px 0 0 18px;
        .iconfont {
            padding-left: 4px;
        }
    }
    //公共样式 左右按钮 结束

    .left_side {
        width: 190px;
        background: #fefefe;

        ul {
            overflow: hidden;
            height: 470px;
            margin: 10px 0;

            li {
                padding-left: 18px;
                height: 25px;
                line-height: 25px;
                font-size: 14px;
                color: #333;
                a {
                    color: #333; 

                    &:hover {
                        color: #e1251b;
                    }
                }

                &:hover {
                    background-color: #d9d9d9;
                }
            }
        }
    }
  
    .focue_slider {
        overflow: hidden;
        width: 590px;
        background: rgb(41, 29, 29);
        position: relative;

        .slider_box {
            height: 100%;
            width: 400%;

            li {
                float: left;
                width: 590px;
                height: 100%;

                img {
                   width: 100%; 
                   height: 100%;
                }
            }
        }

        .dot {
            position: absolute;
            left: 30px;
            bottom: 24px;
            height: 10px;

            li {
                float: left;
                width: 8px;
                height: 8px;
                margin-right: 10px;
                background-color: #fff;
                border-radius: 50%;
                box-shadow: 0 0 0px 0px #999;

                &.selected_dot {
                    box-shadow: 0 0 0px 3px rgba(255,255,255,.4);
                }
            }
          

            
        }
    }
  
    .recommend_slider {
        position: relative;
        overflow: hidden;
        width: 190px;

        .recommend_swiper {
            overflow: hidden;
            width: 100%;
            height: 100%;
            
            ul {
                width: 310%;
                height: 100%;

                li {
                    float: left;
                    width: 190px;
                    height: 100%;

                    a {
                        display: block;
                        width: 190px;
                        height: 150px;
                        margin-bottom: 10px;
                    }
                    img {
                        width: 190px;
                        height: 150px;
                    }
                }
            }
        }

        .arrow-l,
        .arrow-r {
            display: none;
        }
        &:hover {
            .arrow-l,
            .arrow-r {
                display: block;
            }
        }
    }
  
    .right_side {
        width: 190px;
        height: 100%;
        margin: 0;
        background-color: #fff;

        .top_user_info {
            height: 102px;
            background: #fefefe;
            position: relative;
            
            &::after {
                position: absolute;
                height: 1px;
                left: 15px;
                right: 15px;
                background: -webkit-gradient(linear,right top,left top,from(white),color-stop(#eeeeee),color-stop(#eeeeee),to(white));
                background: linear-gradient(270deg,white,#eeeeee,#eeeeee,white);
                content: " ";
                bottom: 0;
            }
           

            .user_logo {
                height: 102px - 25px - 10px;
                position: relative;

                .left_logo_pic {
                    overflow: hidden;
                    position: absolute;
                    top: 14px;
                    left: 21px;
                    width: 40px;
                    height: 40px;
                    border: 2px solid #fff;
                    border-radius: 50%;
                    
                    img {
                        display: block;
                        width: 40px;
                        height: 40px;
                        
                    }
                }

                .right_s_slider {
                    position: absolute;
                    top: 14px;
                    right: 0;
                    width: 114px;
                    height: 44px;
                    font-size: 12px;
                    line-height: 18px;
                    
                    .welcome_text {
                        display: block;
                        margin-top: 4px;
                        color: #666;
                    }

                    .go_ {
                        a {
                            color: #333;
                        }
                    }
                }
            }

            .new_user_btns {
                height: 25px;
                text-align: center;

                a {
                    display: inline-block;
                    margin: 0 5px;
                    width: 70px;
                    height: 25px;
                    line-height: 25px;
                    font-size: 12px;
                    border-radius: 14px;
                }

                .welfare {
                    color: #fff;
                    background-color: #e1251b;
                }
                .plus_huiyaun {
                    color: #c3b87e;
                    background-color: #363634;
                }
            }
        }

        .mid_wall_bulletin {
            overflow: hidden;
            position: relative;
            height: 130px;

            &::after {
                position: absolute;
                height: 1px;
                left: 15px;
                right: 15px;
                background: -webkit-gradient(linear,right top,left top,from(white),color-stop(#eeeeee),color-stop(#eeeeee),to(white));
                background: linear-gradient(270deg,white,#eeeeee,#eeeeee,white);
                content: " ";
                bottom: 0;
            }

            .b_title {
                margin: 10px 0 0;
                height: 20px;
                line-height: 20px;
                position: relative;

                p {
                    position: absolute;
                    left: 15px;
                    font-weight: bold;
                    font-size: 14px;
                    color: 000;
                }
                a {
                    position: absolute;
                    right: 15px;
                    font-size: 12px;
                    color: #666;
                }
            }

            .b_list {
                margin: 0 15px;
                height: 88px;
                padding: 6px 0 0;
                
                
                .b_item {
                    height: 16px;
                    line-height: 16px;
                    font-size: 12px;
                    margin-bottom: 6px;
                
                    a {
                        display: block;
                        overflow: hidden;
                        white-space: nowrap; /*文字不换行*/
                        text-overflow: ellipsis; /*超出部分省略*/
                        color: #666;

                        .b_item_tit {
                            display: inline-block;
                            color: #e1251b;
                            padding: 0 5px;
                            margin-right: 5px;
                            background-color: #fdeeed;
                        }
                    }
                }
            }
        }

        .bottom_service_entry {
            height: 238px;

            .service_entry {
                height: 100%;
                ul {
                    overflow: hidden;
                    margin-top: 10px;
                    height: 100%;
                    li {
                        float: left;
                        width: 63px;
                        height: 55px;

                        a {
                            text-align: center;
                            i {
                                display: block;
                                height: 28px;
                                img {
                                    height: 28px;
                                }
                            }

                            span {
                                display: block;
                                height: 25px;
                                line-height: 25px;
                                font-size: 12px;
                                color: #333;
                                border: 2px solid #fff;
                            }
                        }
                    }
                }
            }
        }
    }
}

/*商品分类导航列表、 轮播图 、广告...  End*/

/*JD 每日特价 | 品牌闪购 Start*/
.j_special {
    height: 340px;
    margin: 0 auto;
    margin-top: 60px;

    >div {
        width: 590px;
        height: 100%;
        background: #fff;
    }

    // 左边 右边公共部分 
    .days_special,.brand_lightning { 
        .wrap_hd {
            padding: 0 20px;
            height: 60px;

            h3.wrap_hd_title {
                font-weight: 700;
                font-size: 24px;
                line-height: 60px;
            
                a {
                    color: #333;
                    clear: both;
                }
            
                .right_icon {
                    float: right;
                    width: 16px;
                    height: 16px;
                    line-height: 16px;
                    font-size: 10px;
                    padding-left: 1px;
                    margin-top: 22px;
                    margin-left: 10px;
                    border: 1px solid currentColor;
                    border-radius: 50%;
                    color: #e6473e;
                    text-align: center;

                    .iconfont {
                        font-size: 8px;
                    }
                }

                &:hover .right_icon {
                    color: #fff;
                    background-color: #e6473e;
                    transition: 0.2s;
                }

            }
            
        }
    }

    //左边
    .days_special {
        .wrap_hd {
            .wrap_hd_tab {
                width: 271px;
                margin-top: 18px;
                border-bottom: 2px solid transparent;
                
                .tab_item {
                    float: left;
                    margin:0 12px;

                    a {
                        
                        color: #666;
                    }

                    &:last-child {
                        margin-right:0;
                    }
                }

                >.tab_active {   
                    a {
                        color: #e1251b  !important;
                        border-bottom: 2px solid currentColor;
                        padding-bottom: 1px;
                    }
                    
                }

            }
        }
        .wrap_special_list {
            width: 560px;
            height: 280px;
            border-color: #e1251b;
            padding: 0 15px;

            .special_item_first {
                width: 170px;
                height: 265px;
                // background-color: #666;
                background-color: #f7f8f9;

                >a {
                    display: block;
                    width: 100%;
                    height: 100%;
                    text-align: center;

                    .left_top_title {
                        width: 90px;
                        height: 24px;
                        line-height: 24px;
                        background-color: #f7a400;
                        font-size: 12px;
                        font-weight: 700;
                        color: #fff;
                        // letter-spacing: 0; /*字间距*/
                        
                    }
                    
                    img.g_special_pic {
                        width: 120px;
                        height: 120px;
                        margin-top: 22px;
                        
                    }

                    .g_price_info {
                        vertical-align: bottom;
                        margin: 3px 0;
                        .current_price {
                            font-size: 18px;
                            font-weight: bold;
                            color: #e1251b;
                            >i {
                                font-size: 10px;
                            }
                        }

                        .original_price {
                            text-decoration: line-through;
                            font-size: 12px;
                            color: #999;
                        }

                    }

                    .g_message_info {
                        text-align: center;
                        .g_name {
                            display: block;
                            overflow: hidden;
                            margin: 0 auto;
                            margin-top: 9px;
                            margin-bottom: 4px;
                            width: 150px;
                            height: 20px;
                            line-height: 20px;
                            font-size: 14px;
                            color: #333;
                        }
                    }

                    .g_sales_volume {
                        font-size: 12px;
                        .num {
                            color: #e65a53;
                        }
                    }
                    
                }
            }

            .special_item {
                float: left;
                width: 170px;
                height: 84px;
                margin: 18px 0 30px 22px;

                .g_mast_pic {
                    float: left;
                    height: 100%;
                    position: relative;

                    img {
                        width: 84px;
                        height: 84px;
                    }

                    .days_num {
                        position: absolute;
                        left: 0;
                        bottom: 0;
                        z-index: 99;
                        width: 100%;
                        height: 16px;
                        line-height: 16px;
                        text-align: center;
                        font-size: 11px;
                        background-color: #666565;
                        color: #fff;
                    }
                }

                .g_mast_message {
                    float: right;
                    width: 80px;
                    height: 100%;

                    >span {
                        display: block;
                    }

                    .g_name {
                        /*让第二行文字多余部分省略*/
                        /*
                        display: -webkit-box;
                        overflow: hidden;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 2;
                        */
                        
                        width: 100%;
                        color: #333;
                        height: 32px;
                        line-height: 16px;
                        font-size: 12px;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        word-break: break-all;

                    }

                    .g_current_price {
                        vertical-align: bottom;
                        font-size: 16px;
                        color: #e1251b;
                        font-weight: bold;
                        i {
                            font-size: 12px;
                        }
                    }

                    .g_original_price {
                        font-size: 12px;
                        line-height: 14px;
                        text-decoration: line-through;
                        color: #999;
                    }

                    .g_sales_volumeM {
                        margin-top: 10px;
                        color: #999;
                        font-size: 12px;
                        .num {
                            color: #e65a53;
                        }
                    }

                }
            }
        }
    }

    //右边
    .brand_lightning {
        .brand_box {
            width: 560px;
            height: 280px;
            padding: 0 15px;
            
            a.most_popular_brand {
                overflow: hidden;
                display: block;
                width: 270px;
                height: 265px;
                background-color: #fcf9f9;
                text-align: center;
                position: relative;
                &::before {
                    content: "";
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    content: "";
                    z-index: 2;
                }
                
                img.most_brand_logo {    
                    position: relative;
                    width: 70px;
                    height: 35px;
                    display: block;
                    margin: 15px auto 0;
                    z-index: 1;
                }

                .core_name {
                    color: #666;
                    font-weight: 700;
                    font-size: 16px;
                    margin-top: 10px;
                }

                .core_desc {
                    margin-top: 1px;
                    margin-bottom: 14px;
                    span {
                        display: inline-block;
                        font-size: 12px;
                        color: #666;
                        height: 10px;
                        line-height: 10px;
                    }
                    >span:nth-child(1) {
                        padding-right: 6px;
                        margin-right: 2px;
                        border-right: 1px solid #ccc;
                    }
                    
                }

                img.most_brand_gpic {
                    width: 130px;
                    height: 130px;
                }
            }

            .hot_brand {
                width: 270px;
                height: 312px;
                // background: pink;
                margin-top: calc(265px - 312px);
                overflow: hidden;

                a.hot_brand_item {
                    float: left;
                    width: 135px;
                    height: 100px;
                    // background-color: red;

                    margin-top: 10px;
                    text-align: center;
                    position: relative;

                    &:nth-child(2n-1)::after {
                        content: "";
                        position: absolute;
                        top: 50%;
                        right: 0;
                        margin-top: -30px;
                        width: 1px;
                        height: 60px;
                        background: linear-gradient(180deg,white,#eeeeee,#eeeeee,white);
                    }

                    .hot_small_pic {
                        width: 100%;
                        height: 50px;
                        

                        img {
                            height: 50px;
                        }
                    }

                    h6 {
                        color: #666;
                        margin-top: 6px;
                        font-size: 12px;

                        overflow: hidden;
                        white-space: nowrap; /*文字不换行*/
                        text-overflow: ellipsis; /*超出部分省略*/
                        
                    }
                }
            }
        }
    }
}
/*JD 每日特价 | 品牌闪购 End*/
